﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class IoTbInPatient0707
    {
        public long RegNo { get; set; }
        public long? NewRegNo { get; set; }
        public string? HospNo { get; set; }
        public int? InsuranceCode { get; set; }
        public string? CardNo { get; set; }
        public string? ShowCardNo { get; set; }
        public int? PatId { get; set; }
        public string? PatName { get; set; }
        public string? OutPatientNo { get; set; }
        public string? FirstName { get; set; }
        public string? LastName { get; set; }
        public string? PatNameSpell { get; set; }
        public string? PatNameCode { get; set; }
        public int? Sex { get; set; }
        public DateTime? Birthday { get; set; }
        public int? CardType { get; set; }
        public int? PatType { get; set; }
        public int? Origin { get; set; }
        public int? Occupation { get; set; }
        public int? Marriage { get; set; }
        public int? Nation { get; set; }
        public int? Nationality { get; set; }
        public int? Education { get; set; }
        public string? DeadNo { get; set; }
        public string? HealthCardNo { get; set; }
        public int? Retire { get; set; }
        public int? HealthCare { get; set; }
        public int? InWay { get; set; }
        public string? ActFlag { get; set; }
        public string? VoucherNo { get; set; }
        public bool? FeeSep { get; set; }
        public int? SendType { get; set; }
        public string? CompanyName { get; set; }
        public string? CompanyCode { get; set; }
        public string? CompanyType { get; set; }
        public string? CompanyPhone { get; set; }
        public string? CompanyContacts { get; set; }
        public string? CompanyContactsTel { get; set; }
        public string? CompanyContactsPhone { get; set; }
        public string? CompanyAddress { get; set; }
        public string? ContactsName { get; set; }
        public int? ContactsRelationShip { get; set; }
        public string? ContactsRelationShipPhone { get; set; }
        public string? ContactsRelationShipTel { get; set; }
        public string? ContactsRelationZip { get; set; }
        public string? ContactsRelationShipAddress { get; set; }
        public DateTime? ClinicVisitTime { get; set; }
        public int? ClinicDoctor { get; set; }
        public string? ClinicDoctorName { get; set; }
        public string? ClinicDiagnosisCode { get; set; }
        public string? ClinicDiagnosisName { get; set; }
        public DateTime? InTime { get; set; }
        public string? InDiagnosisCode { get; set; }
        public string? InDiagnosisName { get; set; }
        public int? InHospNum { get; set; }
        public int? Professor { get; set; }
        public int? VistingDoctor { get; set; }
        public int? ResidentDoctor { get; set; }
        public string? DiagnosisInfo { get; set; }
        public int? NursingGrade { get; set; }
        public DateTime? OutTime { get; set; }
        public string? OutDiagnosisCode { get; set; }
        public string? OutDiagnosisName { get; set; }
        public int? OutReason { get; set; }
        public int? CurativeEffect { get; set; }
        public bool? InsureStatus { get; set; }
        public int? DeptId { get; set; }
        public int? WardId { get; set; }
        public int? RoomId { get; set; }
        public int? BedId { get; set; }
        public DateTime? InWardTime { get; set; }
        public DateTime? OutWardTime { get; set; }
        public byte? Status { get; set; }
        public int? CreateUserId { get; set; }
        public DateTime? CreateOn { get; set; }
        public int? UpdateUserId { get; set; }
        public DateTime? UpdateOn { get; set; }
        public int HospitalId { get; set; }
        public string? PhotoUrl { get; set; }
        public string? CertificateNo { get; set; }
        public string? ShowPatName { get; set; }
        public int? CertificateType { get; set; }
        public int? IllnessState { get; set; }
        public bool? SciPatient { get; set; }
        public string? MobilePhone { get; set; }
        public int? SpecialType { get; set; }
        public string? DistrictCode { get; set; }
        public bool? IsRevoke { get; set; }
        public string? Health { get; set; }
        public string? InsuranceType { get; set; }
        public string? Gsrdh { get; set; }
        public int? MedicalInsuranceFlag { get; set; }
        public DateTime? LastChargeTime { get; set; }
        public int? SealStatus { get; set; }
        public string? HistroyProvider { get; set; }
        public int? HistroyProviderRelation { get; set; }
        public int? SqdId { get; set; }
        public int? IsHospNewBaby { get; set; }
        public string? Remark { get; set; }
        public string? InjuryVisitType { get; set; }
        public string? InjuryOccuDise { get; set; }
        public string? PsnSetlway { get; set; }
        public string? SingleDisease { get; set; }
        public string? SinDiseCode { get; set; }
        public string? SinDiseName { get; set; }
        public string? AdmissionSituation { get; set; }
        public string? AccountUnit { get; set; }
        public bool? TraumaFlag { get; set; }
        public bool? ThirdFlag { get; set; }
        public DateTime? BedLastFeeTime { get; set; }
    }
}
